"use strict";
if (true) {
    var myname = "helloworld";
}
console.log(myname);
console.log("this is " + myname + " please"); //首先是反引号 其次使用${变量}  var 定义的是全局变量
var dbstr = "192.168.1.10"; //定义一个常量
var datas = ["a", "b", "c", "d"];
for (var i = 0; i < datas.length; i++) {
    console.log(datas[i]);
}
for (var i = 0; i < datas.length; i++) { // Noncompliant
    console.log(datas[i]);
}
